-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing controller test for PoolName #1069
Add missing controller test for PoolName #1069
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shajmakh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold |
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the additions here look good. IIRC, in #1064 we fixed the bug on which the DS was created, but immediately removed because the bug in the dangling
pkg. I'd like a test which specifically check for this condition. Is the second commit targeting explicitely that case? it seems related but not too explicit.
Yes the intended test is in the second commit. The problem appeared in HCP but the test doesn't run on that platform, and would need fixes anyway. I haven't tested if the bug occurs on OCP manually, will do the checks and update the code as needed. |
fair enough. Please add a comment above the addition explicitely mentioning that PR, mentioning the bug we had and how this check helps in this area. Then I think I can move on and merge |
/hold |
/hold let's wait for #1071 to go in |
/hold cancel #1071 merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest-required
can we please rebase on top of current main branch? |
9cedc30
to
f6e56ff
Compare
Following further examination, the bug fixed in #1064 can't be caught in the controller tests but in the e2e instead, because we need to look at the readiness of the ds not only the creation. This is covered by the e2e/serial e2e/rte and e2e/install. I adjusted the second commit message. |
f6e56ff
to
aa1be01
Compare
/hold |
Add missing test for PoolName as kempty string. Signed-off-by: Shereen Haj <[email protected]>
Extend the current test to verify the available condition of the operator for extra verification. Signed-off-by: Shereen Haj <[email protected]>
aa1be01
to
35c11a1
Compare
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest-required |
e2e-install failure aligns with the new default behavior |
/retest |
/unhold |
add missing test for empty pool name and extra verification for Available condition